import request from '@/utils/request'

// 登录接口
export const login = (data) => {
  return request.post('/user/login', data)
}

// 退出登录
export const userLogout = () => request.get('/user/logout')
